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
01a62612
Commit
01a62612
authored
May 24, 2022
by
Tijmen de Mes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reformat line
parent
70319df9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
messages.py
blink/messages.py
+6
-1
No files found.
blink/messages.py
View file @
01a62612
...
...
@@ -234,7 +234,12 @@ class MessageManager(object, metaclass=Singleton):
def
send_composing_indication
(
self
,
session
,
state
,
refresh
=
None
,
last_active
=
None
):
if
not
session
.
account
.
sms
.
enable_iscomposing
:
return
content
=
IsComposingDocument
.
create
(
state
=
State
(
state
),
refresh
=
Refresh
(
refresh
)
if
refresh
is
not
None
else
None
,
last_active
=
LastActive
(
last_active
)
if
last_active
is
not
None
else
None
,
content_type
=
ContentType
(
'text'
))
content
=
IsComposingDocument
.
create
(
state
=
State
(
state
),
refresh
=
Refresh
(
refresh
)
if
refresh
is
not
None
else
None
,
last_active
=
LastActive
(
last_active
)
if
last_active
is
not
None
else
None
,
content_type
=
ContentType
(
'text'
))
self
.
send_message
(
session
.
account
,
session
.
contact
,
content
,
IsComposingDocument
.
content_type
)
def
send_message
(
self
,
account
,
contact
,
content
,
content_type
=
'text/plain'
,
recipients
=
None
,
courtesy_recipients
=
None
,
subject
=
None
,
timestamp
=
None
,
required
=
None
,
additional_headers
=
None
,
id
=
None
):
...
...
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