I think you can cast a slice to a pointer. If not, there should be an as_mut() method.
@npmccallum That worked for getting rid of the first unsafe block; however, I can't remove the second one because the ret value is generated inside an unsafe block due to the syscall and the rest of the code is executed based on the value of ret.
@axelsimon It looks like matrix.org allows you to preview a channel without logging in.
@axelsimon But you have to log in to chat.
@axelsimon I was able to find the new mobile app (RiotX) on the App Store as well.
the virt team uses matrix.org and the regular Riot.im app
but traffic spikes mostly during kvm forum :)
@whitebrandy What's your experience with it?
@npmccallum i think it's good and i have the Android app, which is functional
@npmccallum i do remember us having issues with encryption which was optional
from what i remember, we had to turn encryption off in the room
Anyone with the iOS app have any issues?
as far as i know, the iOS version and Android version are very similar (if not essentially the same) as built from the same SDK
otherwise, i'd say that @whitebrandy's comments are spot on
encryption has been a work in progress for a while
it's progressed leaps and bounds in the past couple years however, to the point we are weeks/month(s) away from the matrix team flipping the switch and enabling E2E encryption on all new 1-1 chats
it's always going to be a choice on rooms, as some rooms are small and some big, and it makes little sense in what are public rooms to add the overhead of encrypting each message for every device of every user in a room. If it's public, it probably doesn't need encryption (though it can still be enabled)
@mbestavros RiotX has some nice new things, like swiping on a message to reply to that message, but it's missing other things like, hmm, answering an audio call :)