andmcadams / iMessageForwarder

6 stars 1 forks source link

Line break sends new message #49

Closed andmcadams closed 4 years ago

andmcadams commented 4 years ago

Hitting enter sends the message on macbook, therefore breaking one message into multiple. This also breaks message previews.

andmcadams commented 4 years ago

Due to the fact that newlines are considered LINE SEPARATOR (U+2028) characters on Mac, this also requires changing the api to alter LINE SEPARATOR characters to newlines that Linux understands. This might need a separate Windows fix at some point in the future.

andmcadams commented 4 years ago

Line separator character replaced by newline in the message text property. Db stores the "real" version with line separators