fix(channels): sync preserve locally cleared dialogs
This commit is contained in:
parent
e22fac1c3f
commit
73cf6a8184
50 changed files with 1525 additions and 327 deletions
|
|
@ -222,6 +222,8 @@ func tgChannelMessageAction(action domain.ChannelMessageAction) tg.MessageAction
|
|||
switch action.Type {
|
||||
case domain.ChannelActionCreate:
|
||||
return &tg.MessageActionChannelCreate{Title: action.Title}
|
||||
case domain.ChannelActionHistoryClear:
|
||||
return &tg.MessageActionHistoryClear{}
|
||||
case domain.ChannelActionChatAddUser, domain.ChannelActionChatJoined:
|
||||
return &tg.MessageActionChatAddUser{Users: append([]int64(nil), action.UserIDs...)}
|
||||
case domain.ChannelActionChatJoinedByLink:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue