aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/conference.vala
blob: ee1be6b6d7a77ee3667a63f1f6741ff8ccd61ef6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
namespace Xmpp {

public class Conference : Object {
    public virtual Jid jid { get; set; }
    public virtual bool autojoin { get; set; }
    public virtual string? nick { get; set; }
    public virtual string? name { get; set; }
    public virtual string? password { get; set; }

    public static bool equal_func(Conference a, Conference b) {
        return a.jid.equals(b.jid);
    }

    public static uint hash_func(Conference a) {
        return Jid.hash_func(a.jid);
    }
}

}