openidec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 6ff2ef57992ca1c8d19c4bbb1fa05d5035c5bf4f
parent 5c5922d58b68dae8727d24ab052f122f895051c3
Author: Peter Kosyh <p.kosyh@gmail.com>
Date:   Fri,  5 Feb 2021 10:34:07 +0000

Merge branch 'master' of https://github.com/gl00my/ii-go

Diffstat:
Mii/db.go | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/ii/db.go b/ii/db.go @@ -773,11 +773,11 @@ func (db *DB) _Store(m *Msg, edit bool) error { if _, ok := db.Idx.Hash[m.MsgId]; ok && !edit { // exist and not edit return errors.New("Already exists") } - if repto != "" { - if _, ok := db.Idx.Hash[repto]; !ok { // repto is absent, we should avoid loops! - return errors.New("Wrong repto: " + repto) - } - } +// if repto != "" { +// if _, ok := db.Idx.Hash[repto]; !ok { // repto is absent, we should avoid loops! +// return errors.New("Wrong repto: " + repto) +// } +// } fi, err := os.Stat(db.BundlePath()) var off int64 if err == nil {