deps/mautrix: upgrade
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
This commit is contained in:
@@ -293,3 +293,19 @@ func (t *TelegramClient) LogoutRemote(ctx context.Context) {
|
||||
func (t *TelegramClient) IsThisUser(ctx context.Context, userID networkid.UserID) bool {
|
||||
return userID == networkid.UserID(t.userLogin.ID)
|
||||
}
|
||||
|
||||
func (t *TelegramClient) GetCapabilities(ctx context.Context, portal *bridgev2.Portal) *bridgev2.NetworkRoomCapabilities {
|
||||
return &bridgev2.NetworkRoomCapabilities{
|
||||
FormattedText: true,
|
||||
UserMentions: true,
|
||||
RoomMentions: true, // TODO?
|
||||
LocationMessages: true,
|
||||
Captions: true,
|
||||
Threads: false, // TODO
|
||||
Replies: true,
|
||||
Edits: true,
|
||||
Deletes: true,
|
||||
ReadReceipts: true,
|
||||
Reactions: true,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user