diff options
author | fiaxh <git@lightrise.org> | 2020-02-20 16:29:23 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2020-02-20 17:15:51 +0100 |
commit | a81af020f30bfda4dec60a52aec142a0c5abb297 (patch) | |
tree | 5c130196e3fc6c702ab6fc6bd1b8cf1e52cc6fc9 /xmpp-vala/src/module/conference.vala | |
parent | 4c953b58827b0d3ccb1f3c052ed1c2b7242e7afa (diff) | |
download | dino-a81af020f30bfda4dec60a52aec142a0c5abb297.tar.gz dino-a81af020f30bfda4dec60a52aec142a0c5abb297.zip |
Preserve unchanged conference data (name) in bookmarks
fixes #748
Diffstat (limited to 'xmpp-vala/src/module/conference.vala')
-rw-r--r-- | xmpp-vala/src/module/conference.vala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmpp-vala/src/module/conference.vala b/xmpp-vala/src/module/conference.vala index 9b1172d8..38c0ead4 100644 --- a/xmpp-vala/src/module/conference.vala +++ b/xmpp-vala/src/module/conference.vala @@ -7,7 +7,11 @@ public class Conference : Object { public virtual string? name { get; set; } public virtual string? password { get; set; } - public static bool equal_func(Conference a, Conference b) { + public bool equals(Conference c) { + return equals_func(this, c); + } + + public static bool equals_func(Conference a, Conference b) { return Jid.equals_func(a.jid, b.jid); } |