Mercurial > prosody-modules
view mod_invites_page/html/invite_invalid.html @ 5173:460f78654864
mod_muc_rtbl: also filter messages
This was a bit tricky because we don't want to run the JIDs
through SHA256 on each message. Took a while to come up with this
simple plan of just caching the SHA256 of the JIDs on the
occupants.
This will leave some dirt in the occupants after unloading the
module, but that should be ok; once they cycle the room, the
hashes will be gone.
This is direly needed, otherwise, there is a tight race between
the moderation activities and the actors joining the room.
author | Jonas Schäfer <jonas@wielicki.name> |
---|---|
date | Tue, 21 Feb 2023 21:37:27 +0100 |
parents | 0ba6108afcbf |
children |
line wrap: on
line source
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Invite to {site_name}</title> <link rel="stylesheet" href="/share/bootstrap4/css/bootstrap.min.css"> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> <link rel="manifest" href="/site.webmanifest"> <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"> <meta name="msapplication-TileColor" content="#fbd308"> <meta name="theme-color" content="#fbd308"> </head> <body> <div id="background" class="fixed-top overflow-hidden" aria-role="none presentation"></div> <div id="form" class="container col-md-8 col-md-offset-2 col-sm-8 cold-sm-offset-2 col-lg-6 col-lg-offset-3 mt-2 mt-md-5"> <div class="card rounded-lg shadow"> <h1 class="card-header rounded-lg rounded-lg"> Invite to {site_name}<br/> </h1> <div class="card-body" > <h5 class="card-title">Invite expired</h5> <p>Sorry, it looks like this invite code has expired!</p> <img class="w-100" alt="Sad person holding empty box" src="{static}/illus-empty.svg"> </div> </div> </div> <script src="/share/jquery/jquery.min.js"></script> <script src="/share/bootstrap4/js/bootstrap.min.js"></script> </body> </html>