diff options
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); } |