Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
1703a975
Commit
1703a975
authored
Aug 01, 2016
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not reset user icon when adding an account to blink
parent
80f0004e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
presence.py
blink/presence.py
+3
-5
No files found.
blink/presence.py
View file @
1703a975
...
@@ -242,11 +242,9 @@ class PresencePublicationHandler(object):
...
@@ -242,11 +242,9 @@ class PresencePublicationHandler(object):
def
_NH_SIPAccountDidDiscoverXCAPSupport
(
self
,
notification
):
def
_NH_SIPAccountDidDiscoverXCAPSupport
(
self
,
notification
):
account
=
notification
.
sender
account
=
notification
.
sender
with
account
.
xcap_manager
.
transaction
():
state
=
BlinkPresenceState
(
account
)
.
offline_state
icon_data
=
IconManager
()
.
get_image
(
'avatar'
)
icon_data
=
IconManager
()
.
get_image
(
'avatar'
)
account
.
xcap_manager
.
set_offline_status
(
OfflineStatus
(
state
)
if
state
is
not
None
else
None
)
if
icon_data
is
not
None
:
account
.
xcap_manager
.
set_status_icon
(
Icon
(
icon_data
,
'image/png'
)
if
icon_data
is
not
None
else
None
)
account
.
xcap_manager
.
set_status_icon
(
Icon
(
icon_data
,
'image/png'
))
@
run_in_gui_thread
@
run_in_gui_thread
def
_NH_XCAPManagerDidReloadData
(
self
,
notification
):
def
_NH_XCAPManagerDidReloadData
(
self
,
notification
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment