Skip to content
Snippets Groups Projects
  1. Jun 10, 2022
  2. Jun 09, 2022
  3. Jun 08, 2022
  4. Jun 06, 2022
  5. Jun 05, 2022
  6. Jun 04, 2022
  7. Jun 03, 2022
    • Johann150's avatar
      fix: correctly render empty note text (#8746) · 81109b14
      Johann150 authored
      Ensure that the _misskey_content attribute will always exist. Because
      the API endpoint does not require the existence of the `text` field,
      that field may be `undefined`. By using `?? null` it can be ensured
      that the value is at least `null`.
      
      Furthermore, the rendered HTML of a note with empty text will also be
      the empty string. From git blame it seems that this behaviour was added
      because of a Mastodon bug that might have previously existed. Hoever,
      this seems to be no longer the case as I can find mastodon posts that
      have empty content.
      
      The code could be made a bit more succinct by using the null coercion
      operator.
    • PikaDude's avatar
      User moderation details (#8762) · 60619379
      PikaDude authored
      
      * add more user details for admins to see
      
      * fix some issues
      
      * small style fix
      
      as suggested by Johann150
      
      Co-authored-by: default avatarJohann150 <johann@qwertqwefsday.eu>
      
      * fix
      
      Co-authored-by: default avatarJohann150 <johann@qwertqwefsday.eu>
      
      Co-authored-by: default avatarJohann150 <johann@qwertqwefsday.eu>
Loading