projects
/
theonering
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f285dc6
)
Only auto-unread for conversations
author
Ed Page
<eopage@byu.net>
Wed, 8 Dec 2010 03:04:28 +0000
(21:04 -0600)
committer
Ed Page
<eopage@byu.net>
Wed, 8 Dec 2010 03:04:28 +0000
(21:04 -0600)
src/gvoice/conversations.py
patch
|
blob
|
history
diff --git
a/src/gvoice/conversations.py
b/src/gvoice/conversations.py
index
58b3c03
..
7cad027
100644
(file)
--- a/
src/gvoice/conversations.py
+++ b/
src/gvoice/conversations.py
@@
-184,10
+184,11
@@
class MergedConversations(object):
# * We cache to disk the history of messages sent/received
# * On first run we mark all server messages as read due to no cache
# * If not first load or from cache (disk or in-memory) then it must be unread
# * We cache to disk the history of messages sent/received
# * On first run we mark all server messages as read due to no cache
# * If not first load or from cache (disk or in-memory) then it must be unread
- if markAllAsRead:
- newConversation.isRead = True
- else:
- newConversation.isRead = False
+ if newConversation.type != newConversation.TYPE_VOICEMAIL:
+ if markAllAsRead:
+ newConversation.isRead = True
+ else:
+ newConversation.isRead = False
if newConversation.messages:
# must not have had all items removed due to duplicates
if newConversation.messages:
# must not have had all items removed due to duplicates