Mark message body and subject as language aware interfaces.
This commit is contained in:
parent
100e504b7f
commit
dc501d1902
1 changed files with 6 additions and 5 deletions
|
@ -54,13 +54,14 @@ class Message(RootStanza):
|
||||||
del_mucnick -- Dummy method to prevent deletion.
|
del_mucnick -- Dummy method to prevent deletion.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
namespace = 'jabber:client'
|
|
||||||
name = 'message'
|
name = 'message'
|
||||||
interfaces = set(('type', 'to', 'from', 'id', 'body', 'subject',
|
namespace = 'jabber:client'
|
||||||
'mucroom', 'mucnick'))
|
|
||||||
sub_interfaces = set(('body', 'subject'))
|
|
||||||
plugin_attrib = name
|
plugin_attrib = name
|
||||||
types = set((None, 'normal', 'chat', 'headline', 'error', 'groupchat'))
|
interfaces = set(['type', 'to', 'from', 'id', 'body', 'subject',
|
||||||
|
'mucroom', 'mucnick'])
|
||||||
|
sub_interfaces = set(['body', 'subject'])
|
||||||
|
lang_interfaces = sub_interfaces
|
||||||
|
types = set([None, 'normal', 'chat', 'headline', 'error', 'groupchat'])
|
||||||
|
|
||||||
def get_type(self):
|
def get_type(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue