Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MatrixPlugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stud.IP
Plugins
MatrixPlugin
Commits
e35b7a20
Commit
e35b7a20
authored
3 years ago
by
Thomas Hackl
Browse files
Options
Downloads
Patches
Plain Diff
post room message on news creation or update
parent
92e79931
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MatrixPlugin.php
+2
-1
2 additions, 1 deletion
MatrixPlugin.php
vendor/libpatrix
+1
-1
1 addition, 1 deletion
vendor/libpatrix
with
3 additions
and
2 deletions
MatrixPlugin.php
+
2
−
1
View file @
e35b7a20
...
...
@@ -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
);
}
}
...
...
This diff is collapsed.
Click to expand it.
libpatrix
@
19fd4fcb
Subproject commit
56893e89418f3cc7bb78a73a421055ad56fc619c
Subproject commit
19fd4fcb03af057641cd7f7e30264957ce3b2378
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment