mirror of
https://github.com/Thumbscrew/PSMatrix.git
synced 2025-07-03 19:39:02 +00:00
Add custom MatrixMessage type
This commit is contained in:
@ -70,6 +70,7 @@ function Get-MatrixRoomMessages {
|
||||
FormattedBody = $_.content.formatted_body
|
||||
MsgType = $_.content.msgtype
|
||||
}
|
||||
$formattedEvent.PSObject.TypeNames.Insert(0, 'MatrixMessage')
|
||||
|
||||
$formattedEvents += $formattedEvent
|
||||
}
|
||||
|
Reference in New Issue
Block a user