!JhbjUgRQmEUWSaLDzq:matrix.org

đź“ŁAnnouncements

32 Members
Very important community announcements..6 Servers

Load older messages


SenderMessageTime
15 May 2023
@ff777:nerdsin.spaceFF777if nothing else works i could try to create the room and stuff for you.... i know it sucks having to have other people do stuff for you instead of being able to do it your self, but that is just an option available if you get desperate and can't figure it out eventually..20:49:47
@ff777:nerdsin.spaceFF777i don't really feel like messing with the matrix docs and figuring out curl my self..20:50:33
@ff777:nerdsin.spaceFF777but this is the command i used to create the room using the nio API:20:51:48
@ff777:nerdsin.spaceFF7772023-05-16 05-51-09.webp
Download 2023-05-16 05-51-09.webp
20:51:56
@ff777:nerdsin.spaceFF7772023-05-16 05-51-24.webp
Download 2023-05-16 05-51-24.webp
20:52:00
16 May 2023
@user:nerdsin.spaceuThanks for the info, maybe I’ll take a look at the nio api’s later, are they what bots use? And a bot doesn’t have to be running on the server itself or anything, could be like a client running on anything anywhere?05:36:14
@user:nerdsin.spaceuAnd the only thing that you have to get right the first time in a room creation appears to be the federate option (defaults to yes), everything else can be changed it looks like? For a public room I should probably use the public preset, so that oughta work out well, I’ll give it a go later on 👍05:42:25
@user:nerdsin.spaceu The older matrix docs had more basic examples using one-liners with curl, just paste in your auth string and a couple commands, but don’t all seem to work quite right anymore. I can create rooms ok, but sending the most basic { "msgtype" : "m.text", "body" : "test” } message wouldn’t work, it only sent “invisible” events that looked like edits to the previous attempt with nothing displayed. Guide says messages need some serial number now and it’s tied to the session auth somehow? Maybe trying random numbers was how I got the 500 server error... Anyway, just odd quirks like that. 05:53:14
@user:nerdsin.spaceuThis probably doesn’t matter at all, since a tombstone is the last thing done, but just had another thought - can you delete a tombstone and “re-active” a room later? Probably not if a new room was created pointing to the old one, since element (at least) hides the old room and only shows the new one... or if you kick someone from the upgraded room they’re probably kicked from the old one too... maybe I’ll try adding another account and test it out, see what element or Syphon does (syphon was terrible on mobile, couldn’t scroll back, seeing new messages was iffy, couldn’t verify other logins... but the server could’ve been poor too)06:03:00
@ff777:nerdsin.spaceFF777yeah nio is the library i use for my bots.... nio is pretty much the best thing to use if some one wants to make bots in python for matrix.... i have 3 bots running and they run on my computer here..06:03:46
@ff777:nerdsin.spaceFF777and i have no idea if you can delete tombstone event or not06:04:51
@ff777:nerdsin.spaceFF777i mean, i guess you could think of the nio stuff as a higher-level abstraction layer for the lower-level calls that you are trying to do.. but then you could have to write some python stuff though..06:07:34
@ff777:nerdsin.spaceFF777i'm lazy you know? so it's just like....... why do i want to mess with low-level stuff when i can let nio do that stuff for me..06:08:03
@user:nerdsin.spaceuYeah, deleting a tombstone is probably not something I’d do... I know editing a room create to reference a different previous room doesn’t work. I’ll just not screw up 👌06:08:08
@user:nerdsin.spaceu I’m a little familiar with python, mint used to use it for a lot of their scripts, and it looks close enough to c to get the gist & maybe edit existing code a little. 06:10:25
@ff777:nerdsin.spaceFF777any way, if you have python on there i could try to give you the basic few lines of code you need to create a room and do the tombstoning and stuff..06:13:10
@ff777:nerdsin.spaceFF777oh yeah and i guess you would have to use pip to install nio.. (pip should already be on there if python is)06:13:36
@user:nerdsin.spaceu Sure, if it’s no bother thanks.
Actually maybe have a link to a good guide on nio handy?
06:27:37
@ff777:nerdsin.spaceFF777there are no good guides..... it is a lot of figuring out crap on your own through trial & error..... the few examples of stuff don't even work half the time..... but if you are just using it real fast to create a room and tombstone then you don't have to worry about learning all about it..06:42:36
@ff777:nerdsin.spaceFF777there is a nio room here though, but you'd probably only want to join it if you are planning on learning more about nio stuff to flesh out some type of bot or some thing..06:43:41
@ff777:nerdsin.spaceFF777 #nio:matrix.org 06:43:48
@ff777:nerdsin.spaceFF777any way, do you have a working python installation? and what version is it?06:44:26
@ff777:nerdsin.spaceFF777oh yeah by the way, you can run the bot on your own account (self-bot) instead of making a new account..07:07:13
@user:nerdsin.spaceuSounds like all the matrix docs are in the same half-afloat boat. Suppose we’re lucky it works at all07:40:16
@ff777:nerdsin.spaceFF777that sucks07:50:35
17 May 2023
@user:nerdsin.spaceuGuess I've got python 2.7.16 and 3.7.3, and whatever else is in buster's repos18:05:14
@user:nerdsin.spaceuBut the no-encryption upgrade seemed to go ok. Maybe I should've @ room'd a minute before upgrading though, might've woken up the live but not reading accounts to join the new one, if inflating the user numbers helps. Or it might wake them up to leave...18:08:07
@ff777:nerdsin.spaceFF777buster? isn't the current one bullseye.... but actually bookworm is going to release before too long.. but it's kind of a pain to upgrade because you have to set up all the settings and crap every time..21:50:01
@ff777:nerdsin.spaceFF777any way, just tell me what you need.. i've been very busy lately with real life stuff..21:50:44
18 May 2023
@user:nerdsin.spaceuIt was stable when I installed mx. I think it should have another 2yrs or so of support? As long as it still works, repos still up, firefox & element gets updates, I don't see a need to go through the 50 steps or so to customize a new install. Maybe an in-place upgrade someday...13:15:27

Show newer messages


Back to Room ListRoom Version: 5