We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d320e9 commit 743d865Copy full SHA for 743d865
pkg/connector/capabilities.go
@@ -50,7 +50,8 @@ func (wa *WhatsAppConnector) GetCapabilities() *bridgev2.NetworkGeneralCapabilit
50
}
51
52
func (wa *WhatsAppConnector) GetBridgeInfoVersion() (info, caps int) {
53
- return 1, 5
+ // Bump caps version to resend room features after adding room management capabilities
54
+ return 1, 6
55
56
57
const WAMaxFileSize = 2000 * 1024 * 1024
@@ -177,6 +178,11 @@ var whatsappCaps = &event.RoomFeatures{
177
178
TypingNotifications: true,
179
DisappearingTimer: waDisappearingCap,
180
DeleteChat: true,
181
+
182
+ // Room management capabilities
183
+ ManageMembers: true,
184
+ SetRoomAvatar: true,
185
+ SetRoomTitle: true,
186
187
188
var whatsappCAGCaps *event.RoomFeatures
0 commit comments