3
0

Add user struct to be sent alongside member info

This commit is contained in:
Denis Arh 2018-10-09 06:02:19 +02:00
parent 264ec19a9b
commit 6711cb9f9e

View File

@ -532,6 +532,7 @@ func (svc *channel) AddMember(channelID uint64, memberIDs ...uint64) (out types.
ChannelID: channelID,
UserID: memberID,
Type: types.ChannelMembershipTypeOwner,
User: user,
}
if exists {