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
c2a302c8
Commit
c2a302c8
authored
Jun 17, 2013
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed publishing internal presence states
parent
4688d596
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
mainwindow.py
blink/mainwindow.py
+1
-4
No files found.
blink/mainwindow.py
View file @
c2a302c8
...
@@ -372,10 +372,7 @@ class MainWindow(base_class, ui_class):
...
@@ -372,10 +372,7 @@ class MainWindow(base_class, ui_class):
if
not
self
.
account_state
.
state
.
internal
:
if
not
self
.
account_state
.
state
.
internal
:
self
.
saved_account_state
=
None
self
.
saved_account_state
=
None
settings
=
BlinkSettings
()
settings
=
BlinkSettings
()
if
self
.
saved_account_state
:
settings
.
presence
.
current_state
=
PresenceState
(
self
.
account_state
.
state
,
self
.
account_state
.
note
)
settings
.
presence
.
current_state
=
PresenceState
(
*
self
.
saved_account_state
)
else
:
settings
.
presence
.
current_state
=
PresenceState
(
self
.
account_state
.
state
,
self
.
account_state
.
note
)
settings
.
presence
.
state_history
=
[
PresenceState
(
state
,
note
)
for
state
,
note
in
self
.
account_state
.
history
]
settings
.
presence
.
state_history
=
[
PresenceState
(
state
,
note
)
for
state
,
note
in
self
.
account_state
.
history
]
settings
.
save
()
settings
.
save
()
...
...
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