Skip to content
Snippets Groups Projects
Commit e35b7a20 authored by Thomas Hackl's avatar Thomas Hackl
Browse files

post room message on news creation or update

parent 92e79931
No related branches found
No related tags found
No related merge requests found
......@@ -206,7 +206,8 @@ class MatrixPlugin extends StudIPPlugin implements StandardPlugin
MatrixClient::get()->postMessage(
MatrixAccount::requireSystemAccount(),
MatrixRoom::find($range->course->id)->getLinkedRoom(),
$news->topic
'Ankündigung: ' . $news->topic . '' . strip_tags($news->body),
'<strong>Ankündigung: ' . $news->topic . '</strong><br>' . $news->body
);
}
}
......
libpatrix @ 19fd4fcb
Subproject commit 56893e89418f3cc7bb78a73a421055ad56fc619c
Subproject commit 19fd4fcb03af057641cd7f7e30264957ce3b2378
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment