20
22
#include "formats.h"
22
24
FORMAT_REC fecommon_xmpp_formats[] = {
23
{ MODULE_NAME, "XMPP", 0 },
25
{ MODULE_NAME, "XMPP", 0, { 0 } },
26
{ NULL, "Roster", 0 },
28
{ NULL, "Roster", 0, { 0 } },
28
30
{ "roster_group", "{hilight $0}:", 1, { 0 } },
29
{ "roster_nick", " ({hilight $0}) {nick $1} $2", 3, { 0, 0, 0 } },
30
{ "roster_ressource", "[$0{nick $1}({hilight $2)}$3]", 4 , { 0, 0, 0, 0 } },
31
{ "roster_ressource_away", "({hilight $0})", 1, { 0 } },
32
{ "roster_ressource_away_status", ": {comment $3}", 1 , { 0 } },
33
{ "begin_of_roster", " ", 0 },
34
{ "end_of_roster", "End of /ROSTER list", 0},
35
{ "not_in_roster", "{nick $0} isn't in the roster.", 1 , { 0 } },
38
{ NULL, "Subscription", 0 },
40
{ "suscribe", "{nick $0} wants to subscribe to your presence. {comment $1}", 2, { 0, 0 } },
41
{ "suscribed", "You can see {nick $0} presence now.", 1 , { 0 } },
42
{ "unsuscribe", "{nick $0} doesn't want to see your presence anymore.", 1 , { 0 } },
43
{ "unsuscribed", "{nick $0} doesn't want you to see his/her presence anymore.", 1 , { 0 } },
48
{ "default_event", "$1 $2", 3, { 0, 0, 0 } },
49
{ "default_error", "ERROR $1 $2", 3, { 0, 0, 0 } },
31
{ "roster_jid", " ({hilight $0}) {nick $1} $2 $3", 4, { 0, 0, 0, 0 } },
32
{ "roster_name", " ({hilight $0}) {nick $1} ($2) $3 $4", 5, { 0, 0, 0, 0, 0 } },
33
{ "roster_resource", "[$0{nick $1}($2)$3]", 4, { 0, 0, 0, 0 } },
34
{ "roster_resource_show", "($0)", 1, { 0 } },
35
{ "roster_resource_status", ": $0", 1, { 0 } },
36
{ "roster_subscription", "(subscription: $0)", 1, { 0 } },
37
{ "begin_of_roster", "ROSTER: {nick $0} $1 $2\n", 3, { 0, 0, 0 } },
38
{ "end_of_roster", "End of ROSTER", 0, { 0 } },
39
{ "not_in_roster", "{nick $0}: not in the roster", 1, { 0 } },
42
{ NULL, "Subscription", 0, { 0 } },
44
{ "suscribe", "{nick $0} wants to subscribe to your presence {comment $1}", 2, { 0, 0 } },
45
{ "suscribed", "You can see {nick $0} presence now", 1, { 0 } },
46
{ "unsuscribe", "{nick $0} doesn't want to see your presence anymore", 1 , { 0 } },
47
{ "unsuscribed", "{nick $0} doesn't want you to see his/her presence anymore", 1 , { 0 } },
50
{ NULL, "Message", 0, { 0 } },
52
{ "message_event", "{nick $0}: $1", 2, { 0, 0} },
53
{ "message_not_delivered", "{nick $0}: cannot deliver message {comment $1}", 2, { 0, 0 } },
54
{ "message_timestamp", "[{timestamp $0}] $1", 2, { 0, 0 } },
57
{ NULL, "Queries", 0, { 0 } },
59
{ "query_aka", "{nick $0}: Also known as {nick $1}", 2, { 0, 0 } },
62
{ NULL, "Channel", 0, { 0 } },
64
{ "joinerror", "Cannot join to room {channel $0} {comment $1}", 2, { 0, 0 } },
67
{ NULL, "Presence", 0, { 0 } },
69
{ "presence_change", "{nick $0}: is now $1", 2, { 0, 0 } },
70
{ "presence_change_reason", "{nick $0}: is now $1 {comment $2}", 3, { 0, 0, 0 } },
73
{ NULL, "Misc", 0, { 0 } },
75
{ "default_event", "$1 $2", 3, { 0, 0, 0 } },
76
{ "default_error", "ERROR $1 $2", 3, { 0, 0, 0 } },
78
{ NULL, NULL, 0, { 0 } }