message: Fix pinning event in a room which hasn't had events pinned in before
diff: @@ -179,7 +179,7 @@ export default class MessageContextMenu extends React.Component {
  pinnedIds.push(eventId);
  cli.setRoomAccountData(room.roomId, ReadPinsEventId, {
  event_ids: [
  - ...room.getAccountData(ReadPinsEventId)?.getContent()?.event_ids,
  + ...(room.getAccountData(ReadPinsEventId)?.getContent()?.event_ids || []),
  eventId,
  ],
  });
  