Compare commits
4 Commits
545c022930
...
5af6a17d1a
Author | SHA1 | Date | |
---|---|---|---|
5af6a17d1a | |||
a331348e4f | |||
d0e251737a | |||
abd956069c |
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user