Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gajim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
210
Issues
210
List
Boards
Labels
Service Desk
Milestones
Merge Requests
22
Merge Requests
22
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gajim
gajim
Commits
e9068f08
Commit
e9068f08
authored
Dec 15, 2018
by
Philipp Hörist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DBus: Show correct unread message number
Fixes
#8362
parent
c2f2ba97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
gajim/remote_control.py
gajim/remote_control.py
+5
-1
No files found.
gajim/remote_control.py
View file @
e9068f08
...
...
@@ -901,7 +901,11 @@ def _contacts_as_dbus_structure(self, contacts):
return
contact_dict
def
get_unread_msgs_number
(
self
):
return
str
(
app
.
events
.
get_nb_events
())
unread
=
app
.
events
.
get_nb_events
()
for
event
in
app
.
events
.
get_all_events
([
'printed_gc_msg'
]):
if
not
app
.
config
.
notify_for_muc
(
event
.
jid
):
unread
-=
1
return
str
(
unread
)
def
start_chat
(
self
,
account
):
if
not
account
:
...
...
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