Port JabberMessage->sent to GDateTime and use g_date_time_new_from_iso8601 instead of purple_str_to_time.
Review Request #1214 — Created Jan. 4, 2022 and submitted
Port JabberMessage->sent to GDateTime and use g_date_time_new_from_iso8601 instead of purple_str_to_time.
Send some messages on XMPP including carbons, verified timestamps looked right.
Summary | ID |
---|---|
fe377f5190e6c56d762ed3f171b3c8c5966d6f41 |
Description | From | Last Updated |
---|---|---|
What should the time stamp be if this parsing fails? Probably should only replace timestamp if the result is not … |
QuLogic |
-
-
libpurple/protocols/jabber/message.c (Diff revision 1) What should the time stamp be if this parsing fails? Probably should only replace
timestamp
if the result is notNULL
only.
Change Summary:
properly handle failed iso8601 parses
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+102 -32) |