IsStateEvent returns whether the event the state is at is a state event.
()
| 185 | |
| 186 | // IsStateEvent returns whether the event the state is at is a state event. |
| 187 | func (s StateAtEvent) IsStateEvent() bool { |
| 188 | return s.EventStateKeyNID != 0 |
| 189 | } |
| 190 | |
| 191 | // StateAtEventAndReference is StateAtEvent and gomatrixserverlib.EventReference glued together. |
| 192 | // It is used when looking up the latest events in a room in the database. |
no outgoing calls
no test coverage detected