mirror of
https://github.com/KoalaSat/nostros.git
synced 2024-09-29 06:30:47 +00:00
Fix
This commit is contained in:
parent
228b41a2ac
commit
12acf1495f
@ -4,7 +4,6 @@ import android.annotation.SuppressLint;
|
||||
import android.content.ContentValues;
|
||||
import android.database.Cursor;
|
||||
import android.database.sqlite.SQLiteDatabase;
|
||||
import android.util.Log;
|
||||
|
||||
import org.json.JSONArray;
|
||||
import org.json.JSONException;
|
||||
@ -210,7 +209,7 @@ public class Event {
|
||||
values.put("name", userContent.optString("name"));
|
||||
values.put("picture", userContent.optString("picture"));
|
||||
values.put("about", userContent.optString("about"));
|
||||
values.put("lnurl", userContent.optString("lnurl"));
|
||||
values.put("lnurl", userContent.optString("lud06"));
|
||||
values.put("main_relay", userContent.optString("main_relay"));
|
||||
values.put("created_at", created_at);
|
||||
if (cursor.getCount() == 0) {
|
||||
|
@ -66,7 +66,7 @@ export const ConfigPage: React.FC = () => {
|
||||
name,
|
||||
about,
|
||||
picture,
|
||||
lnurl,
|
||||
lud06: lnurl,
|
||||
}),
|
||||
created_at: moment().unix(),
|
||||
kind: EventKind.meta,
|
||||
|
@ -46,7 +46,7 @@ export const HomePage: React.FC = () => {
|
||||
|
||||
const message: RelayFilters = {
|
||||
kinds: [EventKind.textNote, EventKind.recommendServer],
|
||||
authors: users.map((user) => user.id),
|
||||
authors: [...users.map((user) => user.id), publicKey],
|
||||
}
|
||||
|
||||
if (lastNote && lastNotes.length > 0 && !past) {
|
||||
|
@ -45,10 +45,10 @@ export const getMentionNotes: (
|
||||
nostros_notes.*, nostros_users.name, nostros_users.picture, nostros_users.contact FROM nostros_notes
|
||||
LEFT JOIN
|
||||
nostros_users ON nostros_users.id = nostros_notes.pubkey
|
||||
WHERE nostros_notes.reply_event_id IN (
|
||||
WHERE (nostros_notes.reply_event_id IN (
|
||||
SELECT nostros_notes.id FROM nostros_notes WHERE pubkey = '${pubKey}'
|
||||
)
|
||||
OR user_mentioned = 1
|
||||
) OR nostros_notes.user_mentioned = 1)
|
||||
AND nostros_notes.pubkey != '${pubKey}'
|
||||
ORDER BY created_at DESC
|
||||
LIMIT ${limit}
|
||||
`
|
||||
|
@ -17,7 +17,7 @@
|
||||
"search": "Поиск",
|
||||
"send": "Отправить",
|
||||
"noContacts": "У Вас пока нет контактов",
|
||||
"addContacts": "Añadir contactos"
|
||||
"addContacts": "Добавить контакты"
|
||||
},
|
||||
"logger": {
|
||||
"randomKeyGenerator": {
|
||||
@ -38,13 +38,13 @@
|
||||
"reply": "Ответить"
|
||||
},
|
||||
"loader": {
|
||||
"searchingProfile": "Buscando tu perfil",
|
||||
"profileFound": "Perfil encontrado",
|
||||
"searchingContacts": "Buscando tus contactos:",
|
||||
"help1": "¿Tienes problemas encontrando tus datos?",
|
||||
"help2": "Intenta contectarte a otros Relays.",
|
||||
"relays": "Relays",
|
||||
"home": "Ir a Home"
|
||||
"searchingProfile": "Поиск профиля",
|
||||
"profileFound": "Профиль найден",
|
||||
"searchingContacts": "Поиск контактов:",
|
||||
"help1": "Проблемы с подключением?",
|
||||
"help2": "Попробуйте подключиться к другим реле.",
|
||||
"relays": "Реле",
|
||||
"home": "На главную"
|
||||
},
|
||||
"configPage": {
|
||||
"title": "Настройки",
|
||||
|
Loading…
Reference in New Issue
Block a user