fixed some presence bugs

This commit is contained in:
Nathan Fritz
2010-02-27 02:02:08 +00:00
parent e06cdec81a
commit 8d5dbfa691
4 changed files with 11 additions and 7 deletions

View File

@@ -6,7 +6,7 @@ from . rootstanza import RootStanza
class Presence(RootStanza):
interfaces = set(('type', 'to', 'from', 'id', 'status', 'priority'))
types = set(('available', 'unavailable', 'error', 'probe', 'subscribe', 'subscribed', 'unsubscribe', 'unsubscribed'))
showtypes = set(('dnd', 'ffc', 'xa', 'away'))
showtypes = set(('dnd', 'chat', 'xa', 'away'))
sub_interfaces = set(('status', 'priority'))
name = 'presence'
namespace = 'jabber:client'