Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mohammed Sadiq
chatty
Commits
f72f8cc8
Commit
f72f8cc8
authored
Sep 08, 2021
by
Mohammed Sadiq
Browse files
mm-chat: Send messages in the order they are added
parent
fbf3e739
Pipeline
#70890
passed with stages
in 8 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/chatty-mm-chat.c
View file @
f72f8cc8
...
...
@@ -374,7 +374,7 @@ chatty_mm_chat_send_message_async (ChattyChat *chat,
task
=
g_task_new
(
self
,
NULL
,
callback
,
user_data
);
g_task_set_task_data
(
task
,
g_object_ref
(
message
),
g_object_unref
);
chatty_mm_chat_append_message
(
CHATTY_MM_CHAT
(
chat
),
message
);
g_queue_push_
head
(
self
->
message_queue
,
task
);
g_queue_push_
tail
(
self
->
message_queue
,
task
);
mm_chat_send_message_from_queue
(
self
);
}
...
...
Write
Preview
Supports
Markdown
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