mathieui
|
fe249417b2
|
Remove display code from command_say
Use instead the message handler as if we received the message as carbons
|
2019-08-23 13:35:49 +02:00 |
|
Madhur Garg
|
b112748d1f
|
Changed the value of the 'reverse' parameter back to boolean.
|
2019-08-23 09:51:04 +02:00 |
|
|
65c7deb585
|
Add missing top parameter to another build_new_message method
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2019-08-23 09:48:27 +02:00 |
|
mathieui
|
5312382f8a
|
Adapt the plugin safety metaclass for async funcs
|
2019-08-22 16:22:57 +02:00 |
|
mathieui
|
22ab7622f6
|
Merge branch 'mam' into 'master'
MAM: Sudden change in the order of messages.
See merge request poezio/poezio!40
|
2019-08-22 13:45:44 +02:00 |
|
Madhur Garg
|
99e6f2611f
|
Added 'top' attribute in the 'Message' object (The problem of the wrong order of messages was because of this.)
|
2019-08-22 06:25:20 +05:30 |
|
Madhur Garg
|
9470f4943b
|
Missed name change of start_date to start.
|
2019-08-22 04:53:59 +05:30 |
|
Madhur Garg
|
4d57a1faf9
|
Used named arguments instead of comments for 'add_message'.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
254b8953c4
|
Removed repetitive code.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
aae00af281
|
Changed query_id from int to boolean type.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
47dc7f0095
|
Changed stanza_id attribute to last_stanza_id.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
b01c796551
|
Corrected indentation and coding style.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
e3c1ac4033
|
Initialized stanza_id in the basetabs.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
7e4735b0ad
|
Added a check on deterministic colors
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
fe5476a436
|
Added MAM query on join of MUC, earlier it was only there for auto-join groups
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
19386baa57
|
Update end date with buffer, useful for any tab which supports MAM and has messages in it.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
afbff00c14
|
As per the current structure of slix, reverse parameter takes the value of before tag, so changed it's value from 'true' to the stanza id.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
0602a7b0de
|
Changed message for MUC's which doesn't support MAM
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
ddc23d7d89
|
Added user colors for messages retrieved using MAM
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
f496be6403
|
Removed MAM start/end messages, because they are not important for infinite scroll.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
592932f7ca
|
Changed the querry from timestamp to stanza-id based.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
06eeda0233
|
Removed some extra repetitive code.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
8a271e6f26
|
Added <before> tag to query messages based on stanza-id
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
a372e5f49f
|
Added a call to scroll for 10 messages on initially joining the room.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
4818210a63
|
Disabled the history of MUC(from 0045) if the MUC supports MAM.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
c5ef5b0421
|
Changed the parameter from 'self' to 'tab' where the function is not a method.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
bb20db0d0a
|
Removed unnecessary 'self' argument from the add_line function.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
e38fb04da6
|
Moved the splitting of nick to the function before the call of add_line is made.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
8937a751d1
|
Added a check on the category of the chat group
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
e3485cc2b3
|
Changed the check on an empty message because the earlier one might leave an empty body in XML representation.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
dfec8bdfb7
|
Aligned the timestamp of MAM start/end messages, added info message if no more messages are left.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
a7530dc337
|
Added a check for IqError and IqTimeout exceptions, while doing mam and disco query.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
d6ccafbc96
|
Added a check on empty messages and not displaying them in MAM query
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
836e53bdfe
|
Added a check for tabs (because there is a different way to query messages for MUC and any other type of tab)
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
cc8c808e10
|
Added await on the get_info call so that MAM support is checked first before proceeding further.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
7ea48f4cdc
|
Removed /mam command as it is implemented in mam_tab (WIP:37)
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
8b4cc91285
|
Fixed issue with the start timestamp (removed it)
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
2ca14edbb5
|
Fixed repeated query for messages on pressing PageUp
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
241f026ccf
|
Fixed timestamp
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
0c22a85626
|
Changed default start date of the query to be 360 days before current date.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
8470e52516
|
Added check for MAM support in disco#info
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
a592baf438
|
Fixed window refresh
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
6bd012e129
|
Fixed scroll up
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
8e07c6d60e
|
Added messages when the query is starting and ending.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
3e491589a8
|
Changed type of history to 'boolean
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
a0d8e1ceee
|
Corrected description of /mam command
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
772cec28fb
|
Changed the name of MAM function.
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
788c21b986
|
Apply suggestion to poezio/mam.py
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
ef95461bd7
|
Apply suggestion to poezio/mam.py
|
2019-08-22 00:54:25 +05:30 |
|
Madhur Garg
|
7445c37b91
|
Apply suggestion to poezio/mam.py
|
2019-08-22 00:54:25 +05:30 |
|