comparison mod_support_contact/mod_support_contact.lua @ 1343:7dbde05b48a9

all the things: Remove trailing whitespace
author Florian Zeitz <florob@babelmonkeys.de>
date Tue, 11 Mar 2014 18:44:01 +0100
parents 8b1250df82e8
children
comparison
equal deleted inserted replaced
1342:0ae065453dc9 1343:7dbde05b48a9
33 roster[support_contact] = {subscription = "from", ask = "subscribe", name = support_contact_nick, groups = {}}; 33 roster[support_contact] = {subscription = "from", ask = "subscribe", name = support_contact_nick, groups = {}};
34 end 34 end
35 rostermanager.save_roster(node, host, roster); 35 rostermanager.save_roster(node, host, roster);
36 36
37 node, host = jid_split(support_contact); 37 node, host = jid_split(support_contact);
38 38
39 if hosts[host] then 39 if hosts[host] then
40 roster = rostermanager.load_roster(node, host); 40 roster = rostermanager.load_roster(node, host);
41 roster[jid] = {subscription = "both", groups = groups}; 41 roster[jid] = {subscription = "both", groups = groups};
42 rostermanager.save_roster(node, host, roster); 42 rostermanager.save_roster(node, host, roster);
43 rostermanager.roster_push(node, host, jid); 43 rostermanager.roster_push(node, host, jid);