Skip to content

Commit 538bfa1

Browse files
authored
capabilities: allow delete chat for rcs (#39)
1 parent 5a13b1f commit 538bfa1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkg/connector/capabilities.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func (gc *GMConnector) GetCapabilities() *bridgev2.NetworkGeneralCapabilities {
6060
}
6161

6262
func (gc *GMConnector) GetBridgeInfoVersion() (info, caps int) {
63-
return 1, 4
63+
return 1, 5
6464
}
6565

6666
// The phone will compress outgoing media on MMS, so we don't need to limit it
@@ -75,7 +75,7 @@ func supportedIfFFmpeg() event.CapabilitySupportLevel {
7575
}
7676

7777
func capID(chatType string) string {
78-
base := "fi.mau.gmessages.capabilities.2025_10_25." + chatType
78+
base := "fi.mau.gmessages.capabilities.2025_10_27." + chatType
7979
if ffmpeg.Supported() {
8080
return base + "+ffmpeg"
8181
}
@@ -155,6 +155,7 @@ var rcsCaps = &event.RoomFeatures{
155155
ReactionCount: 1,
156156
ReadReceipts: true,
157157
TypingNotifications: true,
158+
DeleteChat: true,
158159
}
159160

160161
var smsCaps = &event.RoomFeatures{

0 commit comments

Comments
 (0)