mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-23 15:02:27 +00:00
conversation list bundle reading and writing now seems to work.
This commit is contained in:
parent
6974aaac33
commit
1c4ce3ffa3
2
meshms.c
2
meshms.c
@ -712,7 +712,7 @@ int app_meshms_list_conversations(const struct cli_parsed *parsed, void *context
|
||||
if (j<sizeof(conversation_log[i].recipient_sid)) {
|
||||
tohex(recipient_sid_hex,conversation_log[i].recipient_sid,
|
||||
sizeof(conversation_log[i].recipient_sid));
|
||||
cli_put_string(sid, ":");
|
||||
cli_put_string(sid, ".");
|
||||
cli_put_string(recipient_sid_hex, "\n");
|
||||
}
|
||||
}
|
||||
|
@ -116,6 +116,7 @@ test_qsoList() {
|
||||
executeOk_servald meshms list conversations $SIDA1
|
||||
assertStdoutGrep --stdout --stderr --matches=1 '^'$SIDA1':'$SIDA2'$'
|
||||
assertStdoutGrep --stdout --stderr --matches=0 '^'$SIDA2':'$SIDA1'$'
|
||||
tfw_cat --stdout --stderr
|
||||
executeOk_servald meshms list conversations $SIDA2
|
||||
assertStdoutGrep --stdout --stderr --matches=0 '^'${SIDA1}':'${SIDA2}'$'
|
||||
assertStdoutGrep --stdout --stderr --matches=1 '^'${SIDA2}':'${SIDA1}'$'
|
||||
|
Loading…
Reference in New Issue
Block a user