blob: 9d5fc4ee63de6c875a1e48f545921fdaab260e94 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- IMCom.py.orig Sat Mar 26 00:34:55 2005
+++ IMCom.py Sat Mar 26 00:36:17 2005
@@ -618,7 +618,7 @@
def sendPriority(self, priority):
self.priority = priority
- tosend = "<presence type='available'>"\
+ tosend = "<presence>"\
"<show>"+self.currentStatus+"</show>"\
"<priority>"+str(priority)+"</priority>"
if(self.currentStatusReason != None or self.currentStatusReason != ""):
@@ -640,12 +640,12 @@
self.currentStatus = "online"
self.currentStatusReason = reason
if(reason == None):
- tosend = "<presence type='available'>"\
+ tosend = "<presence>"\
"<show>online</show>"\
"<priority>"+priority+"</priority>"\
"</presence>"
else:
- tosend = "<presence type='available'>"\
+ tosend = "<presence>"\
"<show>online</show><status>"+self.normalize(reason)+"</status>"\
"<priority>"+priority+"</priority>"\
"</presence>"
|