|
@ -316,10 +316,11 @@ class MumbleCtlIce_120(MumbleCtlIce_118): |
|
|
def getRegistration(self, srvid, mumbleid): |
|
|
def getRegistration(self, srvid, mumbleid): |
|
|
from Murmur import UserInfo |
|
|
from Murmur import UserInfo |
|
|
reg = self._getIceServerObject( srvid ).getRegistration( mumbleid ) |
|
|
reg = self._getIceServerObject( srvid ).getRegistration( mumbleid ) |
|
|
user = { |
|
|
|
|
|
'name': reg[UserInfo.UserName], |
|
|
|
|
|
'email': reg[UserInfo.UserEmail], |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
user = {}; |
|
|
|
|
|
if UserInfo.UserName in reg: |
|
|
|
|
|
user['name'] = reg[UserInfo.UserName]; |
|
|
|
|
|
if UserInfo.UserEmail in reg: |
|
|
|
|
|
user['email'] = reg[UserInfo.UserEmail]; |
|
|
if UserInfo.UserComment in reg: |
|
|
if UserInfo.UserComment in reg: |
|
|
user['comment'] = reg[UserInfo.UserComment]; |
|
|
user['comment'] = reg[UserInfo.UserComment]; |
|
|
if UserInfo.UserHash in reg: |
|
|
if UserInfo.UserHash in reg: |
|
|