First batch of new plugin api methods (#9022)

update api mocks

Generated new hooks

ChannelHasJoinedChannel Implementation

User Left Team/Channel Hook; User Joined Team Hook Implementation

Update RPC Client and Mocks

gofmt

go tests fix

Add Config API Methods

codegne

Add Channel Has Been Created Hook

Fix ChannelHasBeenCreated hook

fix missing context param

fix duplicate hooks; remove redudandcy
Этот коммит содержится в:
Daniel Schalla
2018-07-07 00:32:55 +02:00
коммит произвёл Christopher Speller
родитель 4c1ddcff10
Коммит 359f12db33
10 изменённых файлов: 1215 добавлений и 16 удалений

Просмотреть файл

@@ -1837,9 +1837,6 @@ func TestRemoveChannelMember(t *testing.T) {
t.Fatal("should have passed")
}
_, resp = Client.RemoveUserFromChannel(th.BasicChannel.Id, th.BasicUser2.Id)
CheckNoError(t, resp)
_, resp = Client.RemoveUserFromChannel(th.BasicChannel.Id, "junk")
CheckBadRequestStatus(t, resp)