mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 11:49:04 +01:00
Update message parsing and encoding to include auto-delete timer.
This commit is contained in:
@@ -97,7 +97,8 @@ internal class WebSocketControllerTest : ControllerTest() {
|
||||
author,
|
||||
text,
|
||||
false,
|
||||
AuthorInfo(VERIFIED)
|
||||
AuthorInfo(VERIFIED),
|
||||
NO_AUTO_DELETE_TIMER
|
||||
)
|
||||
val introductionRequestEvent =
|
||||
IntroductionRequestReceivedEvent(introductionRequest, contact.id)
|
||||
|
||||
@@ -89,7 +89,7 @@ internal class MessagingControllerImplTest : ControllerTest() {
|
||||
fun listIntroductionRequest() {
|
||||
val request = IntroductionRequest(
|
||||
message.id, group.id, timestamp, true, true, true, false, sessionId, author, text,
|
||||
false, AuthorInfo(UNVERIFIED)
|
||||
false, AuthorInfo(UNVERIFIED), NO_AUTO_DELETE_TIMER
|
||||
)
|
||||
|
||||
expectGetContact()
|
||||
@@ -330,7 +330,7 @@ internal class MessagingControllerImplTest : ControllerTest() {
|
||||
fun testIntroductionRequestWithNullText() {
|
||||
val request = IntroductionRequest(
|
||||
message.id, group.id, timestamp, true, true, true, false, sessionId, author, null,
|
||||
false, AuthorInfo(VERIFIED)
|
||||
false, AuthorInfo(VERIFIED), NO_AUTO_DELETE_TIMER
|
||||
)
|
||||
val json = """
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user