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
3c5af259
Commit
3c5af259
authored
Aug 15, 2022
by
Tijmen de Mes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip IMDN if not supported
parent
160162cb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
messages.py
blink/messages.py
+2
-0
No files found.
blink/messages.py
View file @
3c5af259
...
@@ -784,6 +784,8 @@ class MessageManager(object, metaclass=Singleton):
...
@@ -784,6 +784,8 @@ class MessageManager(object, metaclass=Singleton):
imdn_datetime
=
document
.
datetime
.
__str__
()
imdn_datetime
=
document
.
datetime
.
__str__
()
notification_center
.
post_notification
(
'BlinkGotDispositionNotification'
,
sender
=
blink_session
,
data
=
NotificationData
(
id
=
imdn_message_id
,
status
=
imdn_status
))
notification_center
.
post_notification
(
'BlinkGotDispositionNotification'
,
sender
=
blink_session
,
data
=
NotificationData
(
id
=
imdn_message_id
,
status
=
imdn_status
))
return
return
elif
content_type
.
lower
()
==
IMDNDocument
.
content_type
:
return
message
=
BlinkMessage
(
body
,
content_type
,
sender
,
timestamp
=
timestamp
,
id
=
message_id
,
disposition
=
disposition
)
message
=
BlinkMessage
(
body
,
content_type
,
sender
,
timestamp
=
timestamp
,
id
=
message_id
,
disposition
=
disposition
)
...
...
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