Merge branch 'main' into asset

This commit is contained in:
balzack 2023-04-27 21:30:54 -07:00
commit 1252e52dba
4 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ Databag is a self-hosted messaging service. Notable features include:
- Federated (accounts on different nodes can communicate) - Federated (accounts on different nodes can communicate)
- Public-Private key based identity (not bound to any blockchain or hosting domain) - Public-Private key based identity (not bound to any blockchain or hosting domain)
- End-to-End encryption (the hosting admin cannot view sealed topics, deafult unsealed) - End-to-End encryption (the hosting admin cannot view sealed topics, deafult unsealed)
- Audio and Video Calls (nat tranversal requires separate relay server) - Audio and Video Calls (nat traversal requires separate relay server)
- Topic based threads (messages organized by topic not contacts) - Topic based threads (messages organized by topic not contacts)
- Lightweight (server can run on a raspberry pi zero v1.3) - Lightweight (server can run on a raspberry pi zero v1.3)
- Low latency (use of websockets for push events to avoid polling) - Low latency (use of websockets for push events to avoid polling)

View File

@ -48,7 +48,7 @@ export function useAppContext() {
} }
catch (err) { catch (err) {
console.log(err); console.log(err);
Alert.alert('FCM', err.toString()); //Alert.alert('FCM', err.toString());
} }
} }
catch (err) { catch (err) {

View File

@ -216,7 +216,7 @@ function HomeScreen({ navParams }) {
</TouchableOpacity> </TouchableOpacity>
</View> </View>
<View style={styles.channels}> <View style={styles.channels}>
<Channels dmChannel={navParams.dmChannel} shareChannel={shareChannel} cardId={cardId} channelId={channelId} openConversation={setConversation} /> <Channels dmChannel={navParams.dmChannel} shareChannel={navParams.shareChannel} cardId={cardId} channelId={channelId} openConversation={setConversation} />
</View> </View>
</SafeAreaView> </SafeAreaView>
<View style={styles.conversation}> <View style={styles.conversation}>

View File

@ -38,7 +38,7 @@ export function useAddTopic(contentKey) {
useEffect(() => { useEffect(() => {
let conflict = false; let conflict = false;
if (state.locked) { if (state.locked && state.assets.length > 0) {
conflict = true; conflict = true;
} }
state.assets.forEach(asset => { state.assets.forEach(asset => {