bridgev2: add support for creating groups (#405)
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run

This commit is contained in:
Tulir Asokan 2025-09-01 17:01:20 +02:00 committed by GitHub
commit f8c3a95de7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 543 additions and 103 deletions

View file

@ -77,7 +77,7 @@ type DisappearingTimerCapability struct {
}
func (dtc *DisappearingTimerCapability) Supports(content *BeeperDisappearingTimer) bool {
if dtc == nil || content.Type == DisappearingTypeNone {
if dtc == nil || content == nil || content.Type == DisappearingTypeNone {
return true
}
return slices.Contains(dtc.Types, content.Type) && (dtc.Timers == nil || slices.Contains(dtc.Timers, content.Timer))