bug fix - repaint

This commit is contained in:
ingvar1995
2016-06-16 00:12:27 +03:00
parent 85061454a6
commit 5c4bfceee7
3 changed files with 14 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ def friend_read_receipt(tox, friend_number, message_id, user_data):
profile = Profile.get_instance()
profile.get_friend_by_number(friend_number).dec_receipt()
if friend_number == profile.get_active_number():
invoke_in_main_thread(profile.update) # TODO: improve
invoke_in_main_thread(profile.receipt)
# -----------------------------------------------------------------------------------------------------------------
# Callbacks - file transfers