feat: sync recent call and channel fixes
This commit is contained in:
parent
e5e0080216
commit
866a87583e
65 changed files with 6680 additions and 229 deletions
|
|
@ -322,6 +322,12 @@ func tgChannelsForDialogs(viewerUserID int64, channels []domain.Channel, dialogs
|
|||
UserID: viewerUserID,
|
||||
Status: domain.ChannelMemberLeft,
|
||||
}
|
||||
} else {
|
||||
self = &domain.ChannelMember{
|
||||
ChannelID: ch.ID,
|
||||
UserID: viewerUserID,
|
||||
Status: domain.ChannelMemberActive,
|
||||
}
|
||||
}
|
||||
out = append(out, tgChannelChat(viewerUserID, ch, self))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue