Commit 7f985a0
Make gateway detection more reliable when generating a room address
Before this commit, monal checked that an entity is not a gateway
by verifying that its identity's type is 'text'
https://xmpp.org/registrar/disco-categories.html#conference
But non-IRC gateways can have an identity type of 'text'.
Now, it will be checking that the entity does not advertise
a category of 'gateway', as that's more robust.
https://xmpp.org/extensions/xep-0100.html#example-3
This should work with Biboumi and Slidge.1 parent 418c3b9 commit 7f985a0
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
982 | | - | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
983 | 986 | | |
984 | 987 | | |
985 | 988 | | |
| |||
0 commit comments