Compare commits

..

4 Commits

Author SHA1 Message Date
5af6a17d1a Fix page rendering when a leftbox is rendered
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 52s
Create Docker Image / Build Docker Image (arm64) (push) Successful in -16h9m19s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-09-08 23:05:43 +10:00
a331348e4f Fixes for DE-LIST notifications 2024-09-08 23:05:43 +10:00
d0e251737a Improvements for finding intransit netmails to upstream and peer hubs 2024-09-08 23:05:43 +10:00
abd956069c When posting to matrix, encode in triple backticks to create a mono-spaced message 2024-09-08 23:05:43 +10:00

View File

@ -63,7 +63,7 @@ class Echomail extends Matrix
->withQueryParameters(['user_id'=>$user])
->post(sprintf('https://%s/_matrix/client/v3/rooms/%s/send/m.room.message',config('matrix.server'),$room),[
'msgtype'=>'m.text',
'body'=>sprintf("```\n%s\n```",mb_convert_encoding(str_replace("\r","\n",$this->o->msg),'UTF-8','IBM850')),
'body'=>sprintf("```\r%s\r```",mb_convert_encoding($this->o->msg,'UTF-8','IBM850')),
]);
switch ($msg->status()) {