Skip to content

Commit fd231f8

Browse files
graveljagerman
authored andcommitted
Advertise server-wide message deletion capability.
This change allows Session clients to check whether the SOGS supports "Ban from Server and Delete All". This is a follow-up to oxen-io#167, which added server-wide message deletion capabilities. As this change has not been released, few SOGS support this useful capability, and clients cannot know in advance whether the deletion request will be honored. Ideally, clients should let users know if this feature is not supported. This may be required from the official Desktop client in session-foundation/session-desktop#1772.
1 parent 303a3ad commit fd231f8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sogs/model/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
capabilities = {
1616
'sogs', # Basic sogs capabilities
1717
'reactions', # Reactions, added in 0.3.1
18+
'server-ban-and-delete', # Support "Ban from Server and Delete All"
1819
# 'newcap', # Add here
1920
}
2021

0 commit comments

Comments
 (0)