mirror of
https://github.com/KoalaSat/nostros.git
synced 2024-09-28 22:30:41 +00:00
Bump versions 16-03-23
This commit is contained in:
parent
7d883668c6
commit
1eec8a7ad7
@ -565,7 +565,7 @@ public class Event {
|
||||
zapped_user_id = pTags.getJSONArray(pTags.length() - 1).getString(1);
|
||||
}
|
||||
|
||||
String userQuery = "SELECT created_at FROM nostros_users WHERE zap_pubkey = ? AND zapped_user_id = ?";
|
||||
String userQuery = "SELECT created_at FROM nostros_users WHERE zap_pubkey = ? AND id = ?";
|
||||
@SuppressLint("Recycle") Cursor userCursor = database.rawQuery(userQuery, new String[] {pubkey, zapped_user_id});
|
||||
|
||||
if (userCursor.moveToFirst()) {
|
||||
|
@ -79,12 +79,6 @@ export const NotificationsFeed: React.FC = () => {
|
||||
useEffect(() => {
|
||||
if (database && pubKeys.length > 0) {
|
||||
getUsers(database, { includeIds: pubKeys }).then(setUsers)
|
||||
relayPool?.subscribe('notification-users', [
|
||||
{
|
||||
kinds: [Kind.Metadata],
|
||||
authors: pubKeys,
|
||||
},
|
||||
])
|
||||
}
|
||||
}, [pubKeys])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user