Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/jabglue.h @ 1525:68580b6be895
Display more information in /room bookmark (autojoin, nick...)
With this patch /room bookmark adds a '*' prefix when autojoin is
set in the bookmark list. It also displays the nick and the room
name contained in the bookmarks.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 02 Oct 2008 20:00:11 +0200 |
parents | f89844a0448a |
children |
comparison
equal
deleted
inserted
replaced
1524:935289bf02ea | 1525:68580b6be895 |
---|---|
38 struct annotation { | 38 struct annotation { |
39 time_t cdate; | 39 time_t cdate; |
40 time_t mdate; | 40 time_t mdate; |
41 gchar *jid; | 41 gchar *jid; |
42 gchar *text; | 42 gchar *text; |
43 }; | |
44 | |
45 struct bookmark { | |
46 gchar *roomjid; | |
47 gchar *name; | |
48 gchar *nick; | |
49 guint autojoin; | |
50 /* enum room_printstatus pstatus; */ | |
51 /* enum room_autowhois awhois; */ | |
43 }; | 52 }; |
44 | 53 |
45 char *jidtodisp(const char *fjid); | 54 char *jidtodisp(const char *fjid); |
46 char *compose_jid(const char *username, const char *servername, | 55 char *compose_jid(const char *username, const char *servername, |
47 const char *resource); | 56 const char *resource); |