beeper / imessage

A Matrix-iMessage puppeting bridge.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

During phone registration, the bridge should state the time until expiration of that phone registration.

Technophilus opened this issue · comments

During phone number registration, the bridge currently shows no response when registering phone numbers (see #4). The bridge should send, after phone number registration, the time that it expires. This may not be properly recorded in the logs, however. See the below excerpt from my server log:

2023-12-22T00:48:00Z INF Got nacserv response error= event_id=$[redacted] mx_command=reg-resp?v=3;r=2812137454;n=[redacted];s=[redacted] name= room_id=![redacted] sender=@[redacted] valid_until=0001-01-01T00:00:00Z

The valid_until date at the end is broken. This is considered complete when the log reports the correct valid_until time and when the bridge responds to successful phone registration by stating the time until expiry.

The valid until time in the log is for the registration data, providing it just isn't currently implemented in the jailbreak tweak. It isn't particularly important anyway. Replying with the actual registration expiry would also be pointless because it's always 30 minutes on the first register.