Comments (3)
Also it is important to notice that between you following and messages arriving it will take a long time. You need to fetch and index these messages. This is not like an Instant Messenger kind of situation that you just ask "give me the last 10 messages for user X", it is a bit more involved than that and it takes time.
What I suspect happened is that you clicked follow but your db still didn't had any message for my user in there and thus the lastMsgs
variable was empty.
I'm going to add an empty messages check there. Thanks a lot for spotting it @Ryuno-Ki
from patchfox.
Unfortunately there are many moving parts and I am yet to cover all the potential errors. That screen allows a person to jump straight to issues here and at least tell me about it which then allows me to try to fix it.
I will try to see if I can see there why this has happened. Just be aware that the error manifesting there might be a side-effect of another problem. Somehow the ssb-ws
connection between sbot (aka ssb-server
) and patchfox has been disconnecting after sometime when it shouldn't do so causing the pull streams being used to close unexpectedly. The solution to that error is apparently use the undocumented pull-reconnect
which I haven't yet discovered how to use.
I will work on this and try to see if I can make that specific case not happen again. The screen you're seeing is the last resort error screen. If it is something that patchfox can't handle it shows that which is IMHO better than just crashing.
from patchfox.
Sounds like a very defensive coding style...
Which can be a good thing.
from patchfox.
Related Issues (20)
- Improve `platforms/nodejs-ssb` HOT 2
- Create flag for packages to detect which platform is being used. HOT 2
- [[ settings ]] refactor to support multiple identities
- refactor app launching to account for multiple identities HOT 1
- Support multiple server and identities connections HOT 12
- Patchfox as a minimum viable primary client
- Error / blank page about sbot.conn HOT 2
- Copy-editing the docs HOT 3
- Can't build: copyfiles "can't go up that far" HOT 4
- Preferences for font size
- Abililty to browse posts from people I follow HOT 2
- [[ blog ]] attaching a thumbnail to a blog post is not working
- default identity not being automatically set
- settings broken for new users HOT 6
- issue to delete identity HOT 1
- Issue when blocking spam HOT 1
- linux 64 bit patchfox-2022.9.2-alpha can't start up HOT 1
- Change setup screen messaging if Patchfox creates the profile
- Very low-level level error when opening the app
- Patchfox does not create profile
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from patchfox.