Skip to content
This repository has been archived by the owner on Jan 2, 2018. It is now read-only.

Patch pushname groups #232

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/client/Models/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def __init__(self):
self.STATUS_DELIVERED = Message.STATUS_DELIVERED
self.Media = None
self.media_id = None
self.pushname = None

super(MessageBase,self).__init__();

Expand Down
2 changes: 1 addition & 1 deletion src/client/UI/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ WAStackWindow {
}

}

updateContactName(jid,pushName);
}

function updateContactsData(contacts, ujid, npush){
Expand Down
2 changes: 1 addition & 1 deletion src/client/waxmpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def wrapped(self, *args):
self.setPushName.emit(contact.jid,contact.pushname)


pushName = contact.pushname
pushName = message.pushname

try:
contact = WAXMPP.message_store.store.getCachedContacts()[contact.number];
Expand Down